/***************************************************************************************************
 *
 * Project: HZFlashcards
 *
 * Class: LessonStatus
 *
 * File name: LessonStatus.java
 *
 * Sep 6, 2007
 *
 **************************************************************************************************/

package com.eastmountain.chinese.common;

public class LessonStatus {

    private String  title;
    private String level;
    private int lessonNumber;
    private int numberOfLessons;
    private int cardNumberInLesson;
    private int numberOfCardsInLesson;
    private int numberOfCardsInSet;

	public LessonStatus() {

        title                 = "";
        level                 = "?";
        lessonNumber          = 0;
        numberOfLessons       = 0;
        cardNumberInLesson    = 0;
        numberOfCardsInLesson = 0;
        numberOfCardsInSet    = 0;

    }

    public String getTitle() {

        return (title);

    }

    public void setTitle( String title ) {

        this.title = title;

    }

    public String getLevel() {

        return level;

    }

    public void setLevel( String level ) {

        this.level = level;

    }

    public int getLessonNumber() {

        return lessonNumber;

    }

    public void setLessonNumber( int lessonNumber ) {

        this.lessonNumber = lessonNumber;

    }

    public int getNumberOfLessons() {
		return numberOfLessons;
	}

	public void setNumberOfLessons(int numberOfLessons) {
		this.numberOfLessons = numberOfLessons;
	}

    public int getCardNumberInLesson() {

        return cardNumberInLesson;

    }

    public void setCardNumberInLesson( int cardNumberInLesson ) {

        this.cardNumberInLesson = cardNumberInLesson;

    }

	public int getNumberOfCardsInLesson() {
		return numberOfCardsInLesson;
	}

	public void setNumberOfCardsInLesson(int numberOfCardsInLesson) {
		this.numberOfCardsInLesson = numberOfCardsInLesson;
	}

    public int getNumberOfCardsInSet() {
        return numberOfCardsInSet;
    }

    public void setNumberOfCardsInSet( int numberOfCardsInSet ) {
        this.numberOfCardsInSet = numberOfCardsInSet;
    }

    @Override
    public String toString() {

        String hanZiData = "\nLesson Status: \n"
                         + "\nLesson level:   " + getLevel()
                         + "\nLesson number:  " + getLessonNumber()
                         + "\nCard number:    " + getCardNumberInLesson();

        return hanZiData;
    }

}
